@import './base.less';
@import './variables.less';
@import './common-iter.less';


/* ***** Global Begin ***** */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

*::before, *::after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  // user-select: none;
}

html {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.42857143;
  color: @color-text;
  background-color: #fff;
  min-width: 1280px;
  min-height: 800px;
  // overflow: hidden;
}

div, span {
  margin: 0;
  padding: 0;
  font-family: inherit;
}

input, button, select, textarea {
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
}

figure {
  margin: 0;
}

img {
  vertical-align: middle;
}

hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #eee;
}

a {
  color: @color-text;
  text-decoration: none;
  font-family: inherit;

  &:link {
    color: @color-text;
  }

  &:visited {
    color: @color-text;
  }

  &:hover {
    color: @color-primary;
    text-decoration: parent(text-decoration);
  }

  &:active {
    color: @color-text;
  }
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: inherit;
}

/* ***** Global End ***** */

/* ******* Modifier Begin ********* */
.checked {
  color: @color-primary !important;
}

.error-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  color: @color-primary;
  font-size: @fs-small !important;
}

.cur-pointer {
  cursor: pointer;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

/* ******* Modifier End ********* */
@media screen and (max-width: 1280px) {
  body {
    overflow-x: scroll;
  }
}

@media screen and (max-height: 800px) {
  body {
    overflow-y: scroll;
  }
}